package com.springboot.frame.backup;

import lombok.Getter;

/**
 * @author liheng
 * @ClassName DbType
 * @Description
 * @date 2021-03-11 14:35
 */
@Getter
public enum DbType {
    /**
     * MYSQL
     */
    MYSQL("mysql", "com.mysql.cj.jdbc.Driver");

    /**
     * 数据库名称
     */
    private final String db;
    /**
     * 描述
     */
    private final String driver;

    DbType(String db, String driver) {
        this.db = db;
        this.driver = driver;
    }
}
